﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Pro_CustorList.aspx.cs" Inherits="ArtLand.OA.Project.Project.Pro_CustorList" %>


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="../css/admin.css" rel="stylesheet" />
    
    <style type="text/css" mce_bogus="1">
        /* CSS Document */
        body {
            font: normal 11px auto "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
            color: #4f6b72;
            background: #E6EAE9;
        }

        a {
            color: #c75f3e;
        }

        #mytable {
           width: 1000px;
padding-left: 10px;
padding: 5px;
margin: 2px;
margin-left: 38px;
        }

        #mytable caption {
            padding: 0 0 5px 0;
            width: 700px;
            font: italic 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
            text-align: right;
        }

        #mytable th {
            font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
            color: #4f6b72;
            border-right: 1px solid #C1DAD7;
            border-bottom: 1px solid #C1DAD7;
            border-top: 1px solid #C1DAD7;
            letter-spacing: 2px;
            text-transform: uppercase;
            text-align: left;
            padding: 6px 6px 6px 12px;
            background: #CAE8EA url(images/bg_header.jpg) no-repeat;
        }

            #mytable th.nobg {
                border-top: 0;
                border-left: 0;
                border-right: 1px solid #C1DAD7;
                background: none;
            }

        #mytable td {
            border-right: 1px solid #C1DAD7;
            border-bottom: 1px solid #C1DAD7;
            background: #fff;
            font-size: 11px;
            padding: 6px 6px 6px 12px;
            color: #4f6b72;
        }

            #mytable td.alt {
                background: #F5FAFA;
                color: #797268;
            }

        #mytable th.spec {
            border-left: 1px solid #C1DAD7;
            border-top: 0;
            background: #fff url(images/bullet1.gif) no-repeat;
            font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
        }

      #mytable th.specalt {
            border-left: 1px solid #C1DAD7;
            border-top: 0;
            background: #f5fafa url(images/bullet2.gif) no-repeat;
            font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
            color: #797268;
        }
        /*---------for IE 5.x bug*/
        html > body td {
            font-size: 11px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <ext:PageManager ID="PageManager1" runat="server" AutoSizePanelID="pan1" />
        <ext:Panel ShowBorder="false" ShowHeader="false" runat="server" ID="pan1" Layout="Fit">
            <Toolbars>
                <ext:Toolbar ID="Toolbar2" runat="server">
                    <Items>
                        <ext:TwinTriggerBox ID="ttbxMyBox2" ShowLabel="false" OnTrigger1Click="ttbxMyBox2_Trigger1Click"
                            OnTrigger2Click="ttbxMyBox2_Trigger2Click" Trigger1Icon="Clear" ShowTrigger1="False"
                            EmptyText="请输入客户编号或客户名称" Trigger2Icon="Search" runat="server" Width="180px">
                        </ext:TwinTriggerBox>
                        
                    </Items>
                </ext:Toolbar>
            </Toolbars>
            <Items>
                <ext:Grid ID="Grid1" Title="通知/公告管理" ShowHeader="false" ShowBorder="false" runat="server" EnableCheckBoxSelect="true" DataKeyNames="ID"
                    OnRowDataBound="Grid1_RowDataBound" AllowPaging="true" IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange" EnableRowDoubleClick="true" OnRowDoubleClick="Grid1_RowDoubleClick" OnRowCommand="Grid1_RowCommand" EnableColumnLines="true">
                    <Toolbars>
                        <ext:Toolbar ID="Toolbar1" runat="server">
                            <Items>
                                <ext:Button ID="btnNew" Text="添加" Icon="Add" EnablePostBack="false" runat="server">
                                </ext:Button>
                                <ext:ToolbarSeparator></ext:ToolbarSeparator>
                                <ext:Button ID="Button1" Text="修改" OnClick="Button1_Click" Icon="ApplicationEdit" runat="server">
                                </ext:Button>
                                <ext:ToolbarSeparator></ext:ToolbarSeparator>
                                <ext:Button ID="Button2" Text="删除" OnClick="Button2_Click" Icon="Delete" runat="server" ConfirmText="您确定要这么做吗？">
                                </ext:Button>
                                <ext:ToolbarText ID="ToolbarText1" runat="server" Enabled="false" Text="<span style='color:#999'>双击可编辑数据</span>"></ext:ToolbarText>
                                <ext:ToolbarFill>

                        </ext:ToolbarFill>
                        <ext:ToolbarText Text="<b>点击客户编号添加拜访记录</b>"></ext:ToolbarText>
                            </Items>
                        </ext:Toolbar>
                    </Toolbars>
                    <Columns>
                        <ext:TemplateField RenderAsRowExpander="true">
                            <ItemTemplate>
                                <%--<div class="dt_box" style="padding-left: 10px;">
                                    <table>
                                        <tbody>
                                            <tr>
                                                <td class="text_box" colspan="2">
                                                    <p style="color: #bbb;"><span class="name">备注：<%#Eval("REMARK") %></span></p>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>--%>
                            </ItemTemplate>
                        </ext:TemplateField>
                        <ext:BoundField Width="100px" DataField="CUTNUB" DataFormatString="{0}" HeaderText="客户编号" />
                        <ext:BoundField Width="100px" DataField="CUTYPE" DataFormatString="{0}" HeaderText="客户类型" TextAlign="Center" />
                        <ext:BoundField Width="160px" DataToolTipField="CUTNAM" DataField="CUTNAM" DataFormatString="{0}" HeaderText="客户名称" TextAlign="Center" />
                        <ext:BoundField Width="200px" DataField="ADDRES" DataFormatString="{0}" HeaderText="客户地址" TextAlign="Center" />
                        <ext:BoundField Width="80px" DataField="CONTAT" DataFormatString="{0}" HeaderText="联系人" TextAlign="Center" />
                        <ext:BoundField Width="100px" DataField="TELPHO" DataFormatString="{0}" HeaderText="手机" TextAlign="Center" />
                        <ext:BoundField Width="100px" DataField="HomeTel" DataFormatString="{0}" HeaderText="固定电话" TextAlign="Center" />
                        <ext:BoundField Width="130px" DataField="UEMAIL" DataFormatString="{0}" HeaderText="联系人邮箱" TextAlign="Center" />
                        <ext:BoundField Width="150px" DataField="ElseTel" HeaderText="其他联系方式" TextAlign="Center" />
                        <ext:BoundField Width="150px" DataField="Expr1" HeaderText="其他联系方式" TextAlign="Center" Hidden="true" />
                        <ext:BoundField Width="150px" DataField="ID" HeaderText="其他联系方式" TextAlign="Center" Hidden="true" />
                    </Columns>
                </ext:Grid>
            </Items>
        </ext:Panel>
         <ext:Window ID="Window2" Title="编辑" Popup="false" EnableIFrame="true" runat="server"
            CloseAction="HidePostBack" EnableConfirmOnClose="true" IFrameUrl="about:blank" Target="Top" IsModal="True" Width="605px" Height="430px">
        </ext:Window>
        <ext:Window ID="Window1" Title="编辑" Popup="false" EnableIFrame="true" runat="server"
            CloseAction="HidePostBack" EnableConfirmOnClose="true" IFrameUrl="about:blank" Target="Top" IsModal="True" Width="535px" Height="430px">
        </ext:Window>
    </form>
    <script src="../js/extgridbug.js"></script>

</body>
</html>
